import Layout from '@/layout/index.vue'

const flowRouter = {
    path: '/flow',
    name: 'Flow',
    component: Layout,
    redirect: to => {
        return { path: '/flowPool'}
    },
    meta: {
        hide: true,
        title: '流量总汇',
        addToSidebar: true,
        icon: 'icon-liuliangtongji',
        roles: ['admin']
    },
    children: [
        {
            path: '/flowPool',
            name: 'FlowPool',
            component: () => import('@/Views/flow/flowPool.vue'),
            meta: { title: '流量总汇', roles: ['admin'] }
        },
    ]
}

export default flowRouter